package com.whfc.wxmp.api.fim.service.impl;

import com.whfc.fim.dto.FimAlgCheckTypeDTO;
import com.whfc.fim.service.FimWarnRuleService;
import com.whfc.wxmp.api.fim.service.WxFimWarnRuleService;
import org.apache.dubbo.config.annotation.DubboReference;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author : qzexing
 * @version : 1.0
 * @date : 2020-09-09 18:18
 */
@Service
public class WxFimWarnRuleServiceImpl implements WxFimWarnRuleService {

    @DubboReference(interfaceClass = FimWarnRuleService.class, version = "1.0.0")
    private FimWarnRuleService fimWarnRuleService;

    @Override
    public List<FimAlgCheckTypeDTO> listAlgCheckType(Integer deptId) {
        return fimWarnRuleService.listAlgCheckType(deptId);
    }
}
